# -*- coding: UTF-8 -*-
# @Create   : 2021/8/11 9:30
# @Author   : yh
# @Remark   : 注册模块
from view.common.Base import user_module
from view.common.VideoManage.VideoQuality import video_quality_module
from view.common.NetworkManage.IpAM import IpAM_module
from view.common.VideoManage.VideoMonitor import video_monitor_module

from view.common.IOTManager import iot_module
# from view.common.CRM import server_room_module
from view.common.IOTManager.Janitor import janitor_public


def register_module(mx):
    """
    注册所有模块
    """

    # 门禁模块 定制接口
    mx.register_module(janitor_public)
    #
    # 标签组
    # mx.register_module(server_room_module)
    # 动环注册
    mx.register_module(iot_module)
    mx.register_module(user_module)
    mx.register_module(video_quality_module)
    mx.register_module(IpAM_module)  # IP地址管理模块
    # 视频监控
    mx.register_module(video_monitor_module)
